package face.jx.sdk.util;

/**
 * Created by yanxing on 12/9/15.
 */
public class PermissionInfo {
    private String mName;
    private String mShortName;

    private boolean isRationalNeed;

    public boolean isRationalNeed() {
        return isRationalNeed;
    }

    public void setRationalNeed(boolean rationalNeed) {
        isRationalNeed = rationalNeed;
    }

    public PermissionInfo(String name) {
        this.mName = name;
        this.mShortName = name.substring(name.lastIndexOf(".") + 1);
    }

    public String getName() {
        return mName;
    }


    public void setName(String mName) {
        this.mName = mName;
    }

    public String getShortName() {
        return mShortName;
    }

}